export default {
  data () {
    return {
      filterAnd: [],
      total: 0,
      data: [],
      form: {},
      loading: false,
      currentPage: 1,
      size: 12,
      nodetypeOpts: [],
      applicationOpts: [],
      storeOpts: []
    }
  },
  computed: {
    selectStoreRole () {
      return this.$store.state.currentMbr.currentStore
    },
    selectStoreId () {
      let storeId = null
      let item = this.$store.state.currentMbr.currentStore
      if (item.store && item.store.id) {
        storeId = item.store.id
      }
      return storeId
    }
  },
  methods: {
    dbclick (obj) {
      // for (var key in obj) {
      //   this.$set(this.form, key, obj[key])
      // }
      this.form = obj
      this.handlerSearch(1)
    },
  }
}
